package com.cnplan.core;

/**
 * Created by Administrator on 2018/4/25.
 */
public class Constant {
    // 当前用户
    public static String CURRENT_USER = "current_user";
    public static String CURRENT_USERNAME = "current_username";
    public static String CURRENT_USER_ID = "current_user_id";

    // 当前用户的角色
    public static String HAS_ADMIN_ROLE = "has_admin_role";

    // 当前用户可访问的菜单，以及拥有的权限
//    public static String CURRENT_SYSTEM_MENU = "current_system_menu";

    // 上一访问地址
    public static String FROM_URL = "from_url";
    // 当前访问地址
    public static String CURRENT_URL = "current_url";

    // 修改密码的两种情况
    public static Integer RESET_PASSWORD = 1;
    public static Integer CHANGE_PASSWORD = 2;

    // 默认用户登录密码
    public static String DEFAULT_PASSWORD = "123456";

    // 其它
    public static Integer PAGE_SIZE = 20;
}
